3c011688bf910ee47786afa6f6c582d9c8d356ef,unit/src/test/java/org/apache/falcon/unit/TestFalconUnit.java,TestFalconUnit,testExtensionJobOperations,#,437
Before Change
apiResult = updateExtensionJob(TEST_JOB, getAbsolutePath(EXTENSION_PROPERTIES), null);
assertStatus(apiResult);
String processes = new JSONObject(getExtensionJobDetails(TEST_JOB)).get("processes").toString();
Assert.assertEquals(processes, "sample");
process = (Process) getClient().getDefinition(EntityType.PROCESS.toString(), "sample", null);
Assert.assertEquals(process.getPipelines(), "testSample");
After Change
apiResult = updateExtensionJob(TEST_JOB, getAbsolutePath(EXTENSION_PROPERTIES), null);
assertStatus(apiResult);
String processes = new JSONObject(getExtensionJobDetails(TEST_JOB).getMessage()).get("processes").toString();
Assert.assertEquals(processes, "sample");
process = (Process) getClient().getDefinition(EntityType.PROCESS.toString(), "sample", null);
Assert.assertEquals(process.getPipelines(), "testSample");